package Text;

import java.awt.*;
import java.time.LocalDateTime;
import java.util.Scanner;

public class Time {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (true){
            LocalDateTime now = LocalDateTime.now();
            System.out.println(now);
            String input = scanner.nextLine();
            if ("n".equals(input)){
                break;
            }
        }
        scanner.close();
    }
}